package com.itheima.job;


import com.itheima.health.common.RedisConst;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.BoundValueOperations;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.scheduling.annotation.Schedules;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;
import java.util.Set;

//@Component
public class Task {


    //@Scheduled(cron = "0/5 * * * * ?")
    public void testTask(){
        System.out.println("定时任务启动。。");
    }
}
